package com.company.admin.dao.news;

import com.company.admin.entity.news.CompanyNewsEntity;

import java.util.List;
import java.util.Map;

/**
 * @author 赵成林
 * @date 2019/2/17 20:42
 */
public interface NewsDao {

    public void insert (CompanyNewsEntity entity);
    public void modify(CompanyNewsEntity entity);
    public void deleteByIds(List<Long> ids);
    public CompanyNewsEntity getById (Long id);

    public List<CompanyNewsEntity> list(Map map);

    public Long totalCount();
}
